class Restaurant:
    '''餐厅实体类'''
    def __init__(self, restaurant_name, cuisine_type):
        self.restaurant_name = restaurant_name
        self.cuisine_type = cuisine_type
        self.number_served = 0

    def describe_restaurant(self):
        print(f"餐厅名称：{self.restaurant_name}")
        print(f"主打食物类型：{self.cuisine_type}")
        print(f"就餐人数为：{self.number_served}")

    def open_restaurant(self):
        print("当前时间段餐厅正在营业")

    def set_number_served(self, served_number):
        self.number_served = served_number

    def increment_number_served(self, increment_number):
        self.number_served += increment_number


restaurant = Restaurant("星巴克", "咖啡厅")
restaurant.describe_restaurant()
# restaurant.number_served = 28
# restaurant.describe_restaurant()
restaurant.set_number_served(10)
restaurant.describe_restaurant()
restaurant.increment_number_served(10)
restaurant.describe_restaurant()
